home *** CD-ROM | disk | FTP | other *** search
- Path: news.globalxs.nl!news
- From: otterleo@globalxs.nl (otterleo)
- Newsgroups: comp.sys.amiga.datacomm
- Subject: Re: Dialscript needed
- Date: 13 Jan 1996 11:09:38 GMT
- Organization: GlobalXS, the Netherlands
- Message-ID: <2635.6584T999T1742@globalxs.nl>
- References: <4cug85$c38@news.usaor.net>
- NNTP-Posting-Host: ppp141.globalxs.nl
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
- Bill Ley bley@usaor.net
- >I've been having trouble with my dialscript I use with AmiTCP. It seems
- >as it just hangs right after I send my password. I've changed the script
- >after that point and no I get an error. Could someone tell me what I'm
- >doing wrong? Here is the script I use:
-
- >TIMEOUT 1500
- >REDIAL "BUSY"
- >delay 100
- >send "ATZ"
- >wait "OK"
- >delay 5
- >SEND "ATDT 3914905"
- >WAIT "CONNECT"
- >delay 2
- >SEND ""
- >WAIT "ogin"
- >SEND "bley"
- >WAIT "assword"
- >SEND "xxx"
- >SEND "MTU"
- >delay 50
-
- >Should there be something that says WAIT "PPP"? How do I get out
- >of the script after I connect?
-
- Here is the script I use :
-
- ECHO OFF
- SEND "ATZ"
- DELAY 50
- WAIT "OK"
- TIMEOUT 1500
- REDIAL "BUSY"
- SEND "ATDT<place telephone nr here"
- WAIT "CONNECT"
- WAIT "ogin:"
- DELAY 150
- SEND "<place your login name here>"
- WAIT "assword:"
- SEND "<place your password here>"
-
- This works ok for me, I use a dynamic PPP-connection. There's no need to send
- MTU at my ISP, maybe you can leave it out.
- An easy way to check what is needed in your script is to call your ISP
- (Internet dialin number) with a program like Term or NComm. If you do you can
- simply see what is needed.
-
- For example :
-
- If you call in and you see :
- Login:<type your login name>
- Password:<type your password>
-
- If you then see a lot of strange characters appear (and they are repeated over
- and over) then the above script (the one I send) works OK.
-
- If not then give RETURN, maybe this works. It may be that the server needs
- some
- kind of wake-up signal. Include SEND "" in the script then.
-
- If it works you can hangup and edit the script. Then dial again with startnet.
-
- Info about my script :
-
- ECHO OFF -> makes all output invisible except text between " " and text
- send to you by the provider.
- SEND "ATZ" -> Resets the modem, so it is 'clean'.
- DELAY 50 -> give modem time to reset.
- WAIT "OK" -> wait for modem to respond.
- TIMEOUT 1500 -> Time after which everything must be stopped when it has
- failed.
- REDIAL "BUSY" -> Make it possible to redial when line is busy.
- SEND "ATDT<phone number> -> Dial phone number.
- WAIT "CONNECT" -> Wait for connection to be succesful.
- WAIT "ogin" -> Wait for login prompt.
- DELAY 150 -> Gives you time to see what baudrate of the connection. (If
- modem is set up for this : X4 and \V1 for my modem)
- SEND "<login name> -> Sends your login name to the ISP.
- WAIT "assword:" -> Wait for password prompt.
- SEND "<password> -> Send your password to ISP.
-
- I hope this is any help to you. Info can also be found in ppp.guide.
-
- Good luck,
-
- ArlĪ
- Dutch student (studying electronics)
-
-